Today's Question:  What does your personal desk look like?        GIVE A SHOUT

SEARCH KEYWORD -- 64 bit



  Programming Languages for Machine Learning Implementations

Machine learning algorithms have a much better chance of being widely adopted if they are implemented in some easy-to-use code. There are several important concerns associated with machine learning which stress programming languages on the ease-of-use vs. speed frontier.Speed The rate at which data sources are growing seems to be outstripping the rate at which computational power is growing, so it is important that we be able to eak out every bit of computational power. Garbage collected la...

   Programming language,Machine learning,Development     2011-11-16 08:22:17

  Implementation of +,-,*,/ with bitwise operator

There is a question asked on Stackoverflow : Divide a number by 3 without using *,/,+,-,% operators. This question is an Oracle interview question. Some people give excellent answers. You can go there and take a look. Usually we need to use bitwise operators to do this kind of implementations. Here I want to show you ways to implement +,-,*,/ with bitwise operators. A bitwise operation operates on one or more bit patterns or binary numerals at the level of their individual bits. It is a fast, pr...

   Bitwise operator,Shift,Add,Subtract,Multiplication,Division     2012-08-05 01:52:47

  On Erlang's Syntax

I first planned to release this text as an appendix entry for Learn You Some Erlang, but considering this feels more like editorial content and not exactly something for a reference text, I decided it would fit better as a blog post. Many newcomers to Erlang manage to understand the syntax and program around it without ever getting used to it. I've read and heard many complaints regarding the syntax and the 'ant turd tokens' (a subjectively funny way to refer to ,, ; and .), how annoying...

   Erlang,Syntax,Error     2011-12-22 08:35:42

  Why you don’t need a programmer

Once or twice a month I get the question from an aspiring entrepreneur that’s been pushing their idea forward in hopes to (very soon) create a company out of what they’ve been working so hard on.  They’ve spent countless hours working through all the details of what this new product will do, who they’re going to partner with and what they’re going to charge for it. They may even be on the Lean Startup bandwagon and actually talked with potential custo...

   Programmer,Necessary,No need     2012-03-30 07:37:39

  Productivity tips for freelance web designers

There are lots of great things about freelance, such as not being tied to a desk, flexible working hours and little, if any, supervision. All freelance web designers probably realize that one of the biggest challenges of their job is the issue of productivity. How to motivate yourself and stay productive every day with no external supervisors telling us to complete a task right now? Here are five practical productivity hacks for all freelance web designers who want to boost their performance. 1....

   productivity tips, freelance, web designers, productivity hacks     2015-02-13 01:40:29

  Hash Tables in Javascript

IntroductionHash tables are a permutation of associative arrays (i.e. name => value pairs). If you use PHP, then you are very familiar with this type of data structure already since all PHP arrays are associative.The Javascript language implements very loose and somewhat limited support for associative arrays. Any JavaScript array can use other objects as keys, making it a hash, but there exists no formal constructor for initializing them and it is more or less unweildy to work with. A short ...

   JavaScript,Hashtable,Implementation,Array     2011-11-26 02:43:40

  The magic of go:linkname

When writing Go program, there is frequent need on using time.Sleep() function to pause the logic for some time. And if jumping to the definition of this function, can see below definition: // Sleep pauses the current goroutine for at least the duration d. // A negative or zero duration causes Sleep to return immediately. func Sleep(d Duration) I's strange that there is no function body defined here. What happened? The actual definition of the function body is residing at runtime/time.go&nb...

   TRICKS,GO:LINKNAME,GOLANG     2022-04-10 08:39:00

  The problem isn’t you. The problem is the problem.

A friendly reminder: The problem isn’t you. The problem is the problem. –Steven Pressfield Some stuff is just hard. We start thinking we messed up. That it’s an issue with us. But it’s not. The work is hard and the problem is hard. You need to solve the problem, not fix yourself. The quote above is from Steven Pressfield’s incredible Do the Work. The audiobook (that’s a store link) is about 90 minutes long, so it fits in a s...

   Business,Problem,Strategy     2011-12-07 08:37:29

  IE ActiveX(”htmlfile”) Transport, Part II

In my last post I discussed using the ActiveX(”htmlfile”) technique to provide a usable streaming transport in Internet Explorer. The solution I provided will work, but since writing the last article I’ve made significant progress in understanding why IE behaves the way it does with respect to the streaming transport. The previous solution amounted to creating an array of messages, pushing messages on that array from the htmlfile iframe, and popping messages off of the array i...

   IE,Http,Streaming,htmlfile,Transport,Act     2011-09-05 04:07:02

  Never create Ruby strings longer than 23 characters

Looking at things through a microscopesometimes leads to surprising discoveries Obviously this is an utterly preposterous statement: it’s hard to think of a more ridiculous and esoteric coding requirement. I can just imagine all sorts of amusing conversations with designers and business sponsors: “No… the size of this <input> field should be 23… 24 is just too long!” Or: “We need to explain to users that their subject lines should be les...

   Ruby,Specification,String,Interpreter,Optimization,23     2012-01-05 07:58:07